all:main.o M0.o
main.o:main.c 
	arm-none-linux-gnueabi-gcc -c main.c -o main.o -I ../include/
M0.o:M0.c
	arm-none-linux-gnueabi-gcc -c M0.c -o M0.o -I ../include/
	mv main.o M0.o ../obj/
	make -C thread
